package com.newcoin.xgb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (XgbGrabOrdersRecord)实体类
 *
 * @author makejava
 * @since 2020-04-04 15:18:28
 */
@Data
public class XgbGrabOrdersRecord implements Serializable {
    private static final long serialVersionUID = 828620401377445070L;

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 商品id
    */
    private Long goodsId;
    /**
    * 商品名称
    */
    private String goodsName;
    /**
    * 商品图片地址
    */
    private String goodsImg;
    /**
    * 商品价格
    */
    private BigDecimal goodsPrice;
    /**
    * 佣金
    */
    private BigDecimal commission;
    /**
    * 返还金额
    */
    private BigDecimal returnAmount;
    /**
    * 0 待处理 1 已完成
    */
    private Integer state;
    /**
    * 时间
    */
    private String createDate;
}